package com.lzq.model.factory.before;

/**
 * @author : modify
 * @version : v1.0
 * @description :
 * @createTime : 2022/11/14 17:12
 * @updateUser : modify
 * @updateTime : 2022/11/14 17:12
 * @updateRemark : 咖啡类
 */
public abstract class Coffee {
    /**
     * 获取名称
     *
     * @return String
     */
    public abstract String getName();

    public void addMilk() {
        System.out.println("add milk");
    }

    public void addSugar() {
        System.out.println("add sugar");
    }
}
